package com.neu.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.neu.domain.Dept;
import com.neu.domain.User;
import com.neu.mapper.DeptMapper;
import com.neu.mapper.UserMapper;
import com.neu.query.UserQuery;
import com.neu.service.DeptService;
import com.neu.service.UserService;

//应该交给spring的容器来管理,而不是springMVC容器

@Service("deptService")
public class DeptServiceImpl implements DeptService{
	
	@Autowired
	private DeptMapper deptMapper;
	
	@Override
	public List<Dept> findAllDept() {
		return deptMapper.findAllDept();
	}
}